runtime.mheap.spanalloc (field)
9 uses
runtime (current package)
metrics.go#L733: a.mSpanInUse = uint64(mheap_.spanalloc.inuse)
mheap.go#L216: spanalloc fixalloc // allocator for span
mheap.go#L791: h.spanalloc.init(unsafe.Sizeof(mspan{}), recordspan, unsafe.Pointer(h), &memstats.mspan_sys)
mheap.go#L813: h.spanalloc.zero = false
mheap.go#L1166: return (*mspan)(h.spanalloc.alloc())
mheap.go#L1172: pp.mspancache.buf[i] = (*mspan)(h.spanalloc.alloc())
mheap.go#L1204: h.spanalloc.free(unsafe.Pointer(s))
mstats.go#L539: stats.MSpanInuse = uint64(mheap_.spanalloc.inuse)
proc.go#L5984: mheap_.spanalloc.free(unsafe.Pointer(pp.mspancache.buf[i]))
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |